<aside>
	<h3>筛选</h3>
	<nav>
		<ul>
			<li class="main-nav-active">
				<a href="{:U('index')}" title="全部">全部</a>
			</li>
			<li>
				<a href="{:U('index',array('date'=>'format'))}" title="仅本月">仅本月</a>
			</li>
		</ul>
	</nav>
</aside>
<article>
	<div class="article-title">
		<h3>全部&nbsp;&nbsp;<span>共{$total}人</span></h3>
		<a href="javascript:;" title="打印">打印</a>
	</div>
	<div class="article-data">
		<table>
			<thead>
				<tr>
					<th>#</th>
					<th>姓名</th>
					<th>所属</th>
					<th>早餐</th>
					<th>午餐</th>
					<th>合计</th>
				</tr>
			</thead>
			<tbody>
				<volist name="data" id="row">
					<tr>
						<td>{$row.id}</td>
						<td>{$row.name}</td>
						<td>{$row.tobelongto}</td>
						<td>{$row.sum(breakfast)}</td>
						<td>{$row.sum(lunch)}</td>
						<td>{$row["sum(breakfast)"]+$row["sum(lunch)"]}</td>
					</tr>
				</volist>
			</tbody>
		</table>
	</div>
</article>